<template>
  <div class="my-nav-container">
    <div class="nav-container">
    <div class="navNotice">

      <router-link :to="'/notice/comments'">
        <button>评论</button>
      </router-link>
      <router-link :to="'/notice/likes'">
        <button>点赞收藏</button>
      </router-link>
      <router-link :to="'/notice/follow'">
        <button>关注</button>
      </router-link>
    </div>
    <div class="nav-view">

      <router-view />
    </div>
    </div>
  </div>
 
</template>

<script setup>
import { ref } from "vue";
import { useRouter } from 'vue-router';
import { RouterLink } from "vue-router";

</script>

<style scoped>
.my-nav-container{
  flex: 1;
  z-index: 1;
  position: relative;
  overflow-y: auto;
  padding-left: 11px;
  margin-top: 72px;
  scrollbar-width: none;
  width: 1258px;
  height: 100vh;
  top: 0;
  left: 0;
}
.nav-container{
  width: 860px;
  margin: 0 auto;
}
.navNotice{
  width: inherit;
  height: 72px;
  padding: 10px;
  position: fixed;
  z-index: 1000;
  display: flex;
  padding-left: 70px;
  border-bottom: 0.1px solid  rgba(0, 0, 0,0.1)
}
.navNotice button {

  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 40px;
  border-radius: 20px;
  padding: 16px;
  background-color: #fff;
  border: none;
  font-size: 16px;
  color: #333333cc;
  cursor: pointer;
}
.navNotice button:hover {
  background-color: #00000008;
  font-weight: 800;
}
.nav-view{
  position: relative;
  top:61px ;
  width: 100%;  
  height: 100%;
  background-color: #fff;
}
</style>
